package com.example.swim;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
@MapperScan("com.example.swim.Dao")
//@EnableAutoConfiguration是Bean的自动装配工具,完美解决bean no found问题212
//@EnableAutoConfiguration
@MapperScan("com.example.swim.Dao")
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class SwimApplication {

    public static void main(String[] args) {

        SpringApplication.run(SwimApplication.class, args);
    }

}
